<%= render :partial => 'messages' %>

<% unless @sprint.nil? %>
<%= error_messages_for 'sprint' %>
<% end %>